/** 
 * ICanvasModel.java
 * @author Lex
 * 2007-8-26 ����12:04:23
 */
package fun.ui.canvas;

import fun.symtable.FunctionEntry;
import fun.symtable.SymbolTable;

/**
 * ÿ��<code>CanvasModel</code>��Ӧһ������
 */
public interface CanvasModel {
	public FunctionEntry getFunction();

	public void setFunction(FunctionEntry function);

	public double getValue(SymbolTable symtable, double argument);

	// event support
	public void addCanvasModelListener(CanvasModelListener l);

	public void removeCanvasModelListener(CanvasModelListener l);
}
